<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<div id="app">
  <a v-bind:href="baidu">百度一下</a>
  <a :href="tengxun">腾讯</a>
</div>

<script src="../lib/vue.js"></script>
<script>
  let vm = new Vue({
    el: '#app',
    data: {
      baidu: 'http://www.baidu.com',
      tengxun: 'http://www.qq.com',
    }
  })
</script>

</body>
</html>